package com.zjy.entity;

public class Course {
//    课程有：课程名称，学分
    private String course;
    private int credit;

    @Override
    public String toString() {
        return "Course{" +
                "course='" + course + '\'' +
                ", credit=" + credit +
                '}';
    }

    public String getCourse() {
        return course;
    }

    public void setCourse(String course) {
        this.course = course;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    public Course() {
    }

    public Course(String course, int credit) {
        this.course = course;
        this.credit = credit;
    }
}
